using Newtonsoft.Json;
using System;
using System.ComponentModel.DataAnnotations;
using wnet.admin.Models;

namespace ZR.Model.Dto
{
    /// <summary>
    /// 用户表查询对象
    /// </summary>
    public class UserQueryDto : PagerInfo 
    {
    }

    /// <summary>
    /// 用户表输入输出对象
    /// </summary>
    public class UserDto
    {
        [Required(ErrorMessage = "用户id不能为空")]
       
        public long UserId { get; set; }

        [Required(ErrorMessage = "用户账号不能为空")]
        public string UserName { get; set; }

        [Required(ErrorMessage = "用户昵称不能为空")]
        public string NickName { get; set; }

        public string UserType { get; set; }

        public string Avatar { get; set; }

        public string Email { get; set; }

        [Required(ErrorMessage = "密码不能为空")]
        public string Password { get; set; }

        public string Phonenumber { get; set; }

        public int? Sex { get; set; }

        public int? Status { get; set; }

        public int? DelFlag { get; set; }

        public string LoginIP { get; set; }

        public DateTime? LoginDate { get; set; }

 
        public long? DeptId { get; set; }

        public string Province { get; set; }

        public string City { get; set; }

        public string CreateBy { get; set; }

        public DateTime? CreateTime { get; set; }

        public string UpdateBy { get; set; }

        public DateTime? UpdateTime { get; set; }

        public string Remark { get; set; }



    }
}